API=28
ARCH=arm64
CPU=armv8-a
NDK_PATH=/Users/jimo/Library/Android/sdk/ndk/26.2.11394342/toolchains/llvm/prebuilt/darwin-x86_64
CC=$NDK_PATH/bin/aarch64-linux-android$API-clang
AR=$NDK_PATH/bin/llvm-ar
RANLIB=$NDK_PATH/bin/llvm-ranlib
PREFIX=$(pwd)/build/android
mkdir -p $PREFIX
make clean
make CC=$CC AR=$AR RANLIB=$RANLIB
make install PREFIX=$PREFIX